package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ProdPlanVO implements Serializable {
    @ApiModelProperty(value = "剩余生产时长")
    private String timer;
    @ApiModelProperty(value = "各维度目标完成情况")
    private List<PlanDetail> detailList;

    @Data
    public static class PlanDetail implements Serializable {
        @ApiModelProperty(value = "统计类型")
        private String name;

        @ApiModelProperty(value = "总目标")
        private int totalNum;

        @ApiModelProperty(value = "完成目标")
        private int finishNum;

        @ApiModelProperty(value = "完成比例")
        private double finishRate;
    }
}
